package com.example.safeassistan.train.model;

public class MaterialDetail {


    /**
     * success : true
     * message : 操作成功！
     * code : 0
     * result : {"id":"1393134688389668866","postDesc":"两单一卡","postTitle":"两单一卡","postSource":"两单一卡","postContent":"","viewUrl":null,"createTime":"2021-05-14 17:22:48","postType":null}
     * timestamp : 1623380274916
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * id : 1393134688389668866
         * postDesc : 两单一卡
         * postTitle : 两单一卡
         * postSource : 两单一卡
         * postContent :
         * viewUrl : null
         * createTime : 2021-05-14 17:22:48
         * postType : null
         */

        private String id;
        private String postDesc;
        private String postTitle;
        private String postSource;
        private String postContent;
        private String viewUrl;
        private String createTime;
        private String postType;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getPostDesc() {
            return postDesc;
        }

        public void setPostDesc(String postDesc) {
            this.postDesc = postDesc;
        }

        public String getPostTitle() {
            return postTitle;
        }

        public void setPostTitle(String postTitle) {
            this.postTitle = postTitle;
        }

        public String getPostSource() {
            return postSource;
        }

        public void setPostSource(String postSource) {
            this.postSource = postSource;
        }

        public String getPostContent() {
            return postContent;
        }

        public void setPostContent(String postContent) {
            this.postContent = postContent;
        }

        public String getViewUrl() {
            return viewUrl;
        }

        public void setViewUrl(String viewUrl) {
            this.viewUrl = viewUrl;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getPostType() {
            return postType;
        }

        public void setPostType(String postType) {
            this.postType = postType;
        }
    }
}
